ipv6 nd prefix

This command sets the IPv6 prefix. Use the no form of this command to remove the prefix from database.

Syntax

# ipv6 nd prefix <prefix> <default> <no-import-to-dhcps> <valid lifetime> <preferred lifetime> <no-advertise> <on-link|off-link> <infinite> <no-autoconfig|autonomous> 
 
# no ipv6 nd prefix

Command

Description

<prefix>

Configures the IPv6 Routing Prefix Advertisement

<default>

Configures default timers (valid lifetime is 86400 sec and preferred lifetime is 14400 sec) and the prefix is added to Router Advertisement (RA) and DHCP server (without no-import-to-dhcps).

<no-import-to-dhcps>

Prefix is added only to RA.

<valid lifetime>

The valid range is 0-4294967295 seconds (default 86400). It can have the symbolic value of ‘infinity’.

<infinite>

Configures valid lifetime for the first infinite, and preferred lifetime for the second infinite (if added).

<preferred lifetime>

The valid range is 0-4294967295 seconds (default 14400). It can have the symbolic value of ‘infinity’.

<off-link>

Do not use prefix for on-link determination

<no-autoconfig>

Do not use prefix for auto-configuration

Note

This command is applicable only to data-router functionality.
The IPv6 prefix must be /64.
The off-link and no-autoconfig parameters can appear in any combination. Both parameters can have the symbolic ‘infinity’ value.

Command Mode

Privileged User

Example

This example sets the IPv6 prefix.

(config-data)# interface gigabitethernet 0/0
(conf-if-GE 0/0)# ipv6 nd prefix 8/64 10000 50000 on-link autonomous